<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/content/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>日志</title>
		<t:resource types="jquery,lhgdialog,easyui" />
	</head>
	<body>
		<ui:datagrid name="logsList" idField="id" action="logs.do?datagrid" title="日志列表" sortName="id">
			<ui:column field="id" title="编码" sortable="false" hidden="true" />
			<ui:column field="logDepict" title="日志描述" sortable="false" />
			<ui:column field="operateType" title="操作类型" dictionary="logType" sortable="false" />
			<ui:column field="operateBroswer" title="浏览器类型" align="center" sortable="false" />
			<ui:column field="operateIp" title="操作IP" sortable="false" />
			<ui:column field="operateTime" title="操作时间" />
			<ui:column field="opt" title="操作" align="center" />
			<ui:openOpt url="logs.do?logDetails&id={id}" title="日志详情" />
		</ui:datagrid>
		
		<div id="logsListToolBar" style="padding: 5px; height: auto;">
			<div>
				<span class="easyui-query-box">
					<span class="easyui-query-title" title="日志描述">&nbsp;查询用户：</span>
					<ui:combogrid action="user.do?datagrid" name="userId" idField="id" textField="userAccount" panelWidth="400">
						<ui:column title="编号" field="id" hidden="true" />
						<ui:column title="用户账号" field="userAccount" query="true" />
						<ui:column title="用户姓名" field="userName" />
						<ui:column title="用户状态" field="state" />
					</ui:combogrid>
				</span>
				<span class="easyui-query-box">
					<span class="easyui-query-title" title="日志描述">&nbsp;操作时间：</span>
					<input name="startOperateTime" class="easyui-datetimebox" style="width:150px">&nbsp;-&nbsp;
					<input name="endOperateTime" class="easyui-datetimebox" style="width:150px">
				</span>
			</div>
			<div style="height: 26px;">
				<span style="float: left;"></span>
				<span style="float: right;">
					<a href="#" class="easyui-linkbutton" iconCls="icon-standard-magnifier" onclick="logsListSearch()">查询</a>
					&nbsp;
					<a href="#" class="easyui-linkbutton" iconCls="icon-standard-magnifier" onclick="logsListSearchReset()">重置</a>
				</span>
			</div>
		</div>
	</body>
</html>